Crate ruby_prism_sys

source ·
Expand description

§ruby-prism-sys

FFI-bindings for prism.

Structs§

Enums§

Constants§

Statics§

  • This lookup table is referenced in both the UTF-8 encoding file and the parser directly in order to speed up the default encoding processing. It is used to indicate whether a character is alphabetical, alphanumeric, or uppercase in unicode mappings.
  • This is the table of all of the encodings that prism supports.

Functions§

  • Returns true if the given list is empty.
  • Deallocate the internal state of the given list.
  • Deallocate a node and all of its children.
  • Parse a single directive from a pack or unpack format string.
  • Initiate the parser with the given parser.
  • Free any memory associated with the given parser.
  • Initialize a parser with the given start and end pointers.
  • Prism abstracts sizes away from the native system - this converts an abstract size to a native size.
  • Free the associated memory of the given string.
  • Returns the length associated with the string.
  • Returns the start pointer associated with the string.
  • The prism version and the serialization format.

Type Aliases§

Unions§